// 导入：类型、接口、模块、组件、样式
import { Component } from "react";
interface Props {}
interface State {}
class Index extends Component<Props, State> {
  componentDidMount(): void {
    // fetch("http://qf.fsdy.learv.com/film/index")
    fetch("/jn2302/film/index")
      .then((res) => res.json())
      .then((res) => {
        console.log(res);
      });
  }
  render() {
    return (
      <fieldset>
        <legend>title</legend>
      </fieldset>
    );
  }
}
export default Index;
